package com.code.day10.test02;

public class Bear extends  Animal{

    public Bear(String color, int leg) {
        super(color, leg);
    }

    @Override
    public void eat() {
        System.out.println("吃蜂蜜");
    }

    public void catchFish(){
        System.out.println("捕鱼");
    }



}
